using System;
using System.Collections.Generic;

namespace IWS.Lib.SingleSignOn
{
	public interface IDataProvider
	{

		//Service Functions
		Service LoadService(string ID);
		void SaveService(Service data);
		void RemoveService(string ID);
		int CountService(string ID);
		List<Service> ListAllService();

		//Setting Functions
		Setting LoadSetting(string ID);
		void SaveSetting(Setting data);
		void RemoveSetting(string ID);
		int CountSetting(string ID);
		List<Setting> ListAllSetting();
	}
}
